<%-- 
    Document   : updateTest
    Created on : Oct 30, 2009, 3:52:21 PM
    Author     : khanhlv_b00554
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
            int id = Integer.parseInt(request.getParameter("id"));
            String name = request.getParameter("TestName");
            int time = Integer.parseInt(request.getParameter("TimeTest"));
        %>
        <form action="include/actionUpdateTest.jsp" method="post">
            <table border="1">
                <thead>
                    <tr>
                        <th></th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>Test Name : </td>
                        <td><input type="text" name="TestName" value="<%=name%>"></td>
                    </tr>
                    <tr>
                        <td>Test Time : </td>
                        <td><input type="text" name="TimeTest" value="<%=time%>"></td>
                    </tr>
                </tbody>
            </table>
                        <input type="hidden" value="<%=id%>" name="TestID" />
            <input type="submit" value="Update TestQuestion" />
        </form>
    </body>
</html>
